home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / src / Tools / screen-3.5.1 / README < prev    next >
Encoding:
Text File  |  1995-07-14  |  3.2 KB  |  92 lines

  1.  
  2. Short introduction to screen                                  jw 7.9.91
  3.  
  4.  [note that this intro only describes the most common screen features]
  5. Send bugreports, fixes, enhancements, t-shirts, money, beer & pizza to 
  6.                           screen@uni-erlangen.de
  7.  
  8.  
  9. screen 
  10.   provides you with an ansi/vt100 terminal emulator, which can multiplex
  11.   up to 10 pseudo-terminals. On startup, it executes $SHELL in window 0.
  12.   Then it reads $HOME/.screenrc to learn configuration, keybindings, 
  13.   and may open more windows.
  14.  
  15.   C-A C        Create new windows.
  16.  
  17.   C-A SPACE    Advance from window to window (with wraparound)
  18.  
  19.   C-A C-A    Toggle between two windows.
  20.  
  21.   C-A 0
  22.    ...
  23.   C-A 9        Switch to window nr. 0 ... 9.
  24.  
  25.   C-A w        Show a list of windows in the Statusline.
  26.  
  27.   C-A a        (Think of goto-start-of-line in emacs or tcsh).
  28.   C-A s        (Think of i-search in emacs).
  29.   C-A q        Send a literal C-A/C-S/C-Q to the process in the window.
  30.  
  31.   C-A l        Redraw this window.
  32.  
  33.   C-A W        Toggle between 80 & 132 columns mode. 
  34.  
  35.   C-A L        Try to toggle the utmp-slot for this window.
  36.  
  37.   C-A A        Prompt for a new name for this window. (see C-A w).
  38.  
  39.   C-A z        Suspend the whole screen.
  40.  
  41.   C-A x        Execute /usr/bin/lock or $LOCKCMD or a builtin terminallock.
  42.  
  43.   C-A C-[    Start copy&paste mode. Move cursor with h,j,k,l. Set 2 marks
  44.         with SPACE or y. Abort with ESC. Note that "C-[" is ESC.
  45.         NOTE: there is a userdefined amount of scrollback history.
  46.                 The history buffer is entered, when the cursor hits the top
  47.         of the window.
  48.  
  49.   C-A C-]    paste in current window's stdin. see C-A C-[.
  50.  
  51.   C-A <
  52.   C-A >        Read or write the copybuffer from/to the exchange file.
  53.         Multiple screen users on the same host may thus transfer text.
  54.  
  55.   C-A d        Detach screen. All processes continue and may spool output
  56.         to their pty's, but screen disconnects from your terminal.
  57.         reattach with "screen -r".
  58.  
  59.   C-A D D    Power detach. Disconnect like C-A d and kill the parent shell.
  60.  
  61.   C-A K        Kill a window and send SIGHUP to its processgroup. Per default
  62.         this would be C-A C-k. But it is redefined in the demo .screenrc
  63.         (think of killing a whole line in emacs).
  64.  
  65.   C-A :set all  Show all keybindings. The above list is not at all complete and
  66.         may even be wrong, as keys can be redefined in .screenrc or
  67.         with "C-A :bind 'X' keyname [arguments]".
  68.  
  69.   C-A : ....  Online configuration change.
  70.  
  71.  
  72. screen -r [host.tty]
  73.   Reattach a detached screen session. The terminal emulator reconfigures
  74.   according to your $TERMCAP or $TERM settings. '-R' brings up a detached
  75.   session or (if none) creates a new session. You should specify a socket
  76.   when there you have multiple screens detached. 
  77.  
  78. screen -d [host.tty]
  79.   Detach a screen session from remote. Has the same effect as typing 'C-A d'
  80.   on the controlling terminal. '-D' will power-detach.
  81.  
  82. screen -list
  83. screen -ls
  84.   Show all available sockets. If there are (DEAD???) sockets, you may consider 
  85.   removing them. If there are sockets missing, you may send a SIGCHLD to its
  86.   process 'SCREEN' and the process will re-establish the socket. (think of 
  87.   someone cleaning /tmp thoroughly).
  88.  
  89. screen -h 200
  90.   Starts a new screen session and sets the number of lines in the scrollback
  91.   buffer to 200. The default is 50 lines.
  92.